package cn.liujianbo.example.springbean.bean3.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author 刘建波
 * @date 2021-10-10 20:16
 */
@Component
public class UserService {
    @Autowired
    public OrderService orderService;

    public UserService(){
        System.out.println("orderService = " + orderService);
    }
}
